package ${basePackage}.service;
import ${basePackage}.model.${modelNameUpperCamel};
import ${basePackage}.core.Service;
import java.util.List;


/**
 * Created by ${author} on ${date}.
 */
public interface ${modelNameUpperCamel}Service extends Service<${modelNameUpperCamel}> {

    List<${modelNameUpperCamel}> get${modelNameUpperCamel}s(Integer page, Integer size);

    Integer get${modelNameUpperCamel}sCount();

    Integer add${modelNameUpperCamel}(${modelNameUpperCamel} ${modelNameLowerCamel});

    Integer update${modelNameUpperCamel}(${modelNameUpperCamel} ${modelNameLowerCamel});

    Integer update${modelNameUpperCamel}Flag(Integer id, Integer flag);

    }
